﻿#pragma once

//实现vtk渲染窗口的功能
#include "DlgBase.h"


//单例模式  
class CreateVolumeDlg: public DlgBase
{
public:
    CreateVolumeDlg(QWidget* parent = nullptr);
    ~CreateVolumeDlg();

    bool create();
    void initUI() override;
    void manageConnections() override;

private:
    double m_startPoint[3] = { 0, 0, 0 };
    double m_endPoint[3] = { 5, 0, 0 };

    //start point
    MyCoordinateEdit* m_startPointCoord = nullptr;
    MyCoordinateEdit* m_endPointCoord = nullptr;

    //ok button
    QPushButton* m_okBtn = nullptr;

    //cancel button
    QPushButton* m_cancelBtn = nullptr;
};


